﻿using System;
using Machine.Entity;
using System.Linq.Expressions;
using Machine.Model.ReturnModel;
using Machine.IRepository;
using Machine.Repository;
namespace Machine.Bussiness
{
    public class MachineWXDetailBLL: BaseBLL<MachineBXDetail>
    {

        private IMachineWXDetail DAL = new MachineWXDetailDAL();

        public override void SetCurrentRepository()
        {
            CurrentRepository = DAL;//CurrentRepository属性在BaseBLL中定义
        }

        public object GetEntityByKind(string wxid, string kind)
        {
            return DAL.GetEntityByKind( wxid,  kind);
        }

        public object GetPageList(string wxid, string[] arrayAllowKind)
        {
            return DAL.GetPageList(wxid, arrayAllowKind);
        }
    }
}
